Skip to content

proposal(quota-plane): lower the caution threshold NEAR_PCT 80 → 75 — pools enter caution at a lower measured percent (weekly walls arrive systematically early) - #13265

Open
dezren39 wants to merge 1 commit into
mainfrom
quota-proposal/caution-margin/NEAR_PCT/80-to-75
Open

dezren39 wants to merge 1 commit into
mainfrom
quota-proposal/caution-margin/NEAR_PCT/80-to-75

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

proposal(quota-plane): lower the caution threshold NEAR_PCT 80 → 75 — pools enter caution at a lower measured percent (weekly walls arrive systematically early)

Generated by the Stage-3 re-weighting proposal generator (S6, #12700; design D5).
This PR was opened by the generator, not hand-written. It proposes; it does not
merge — merge authority is unchanged (Felix/Drew), and the #1342 controlled A/B
gate applies before this proposal class becomes routine.

Proposal key: caution-margin:NEAR_PCT:80->75
Class: caution-margin
Target: the caution margin NEAR_PCT (derive.ts), the threshold at which a pool enters the caution/near tier — pm-stack/aggregator/src/derive.ts: 80 → 75

Rationale

Weekly walls arrive systematically earlier than the linear pace projects: meta (median signed wall error +4741.1 min over 269 scored forecasts, precision 0.529, recall 0.647); anthropic:claude-pro (median signed wall error +796.1 min over 291 scored forecasts, precision 1, recall 0.55). A pool enters the caution tier when a window's measured percent reaches NEAR_PCT (derive.ts); lowering the threshold by one step (80 → 75) means pools enter caution at a lower measured percent — earlier in the window — in exactly the windows whose walls the forecast under-calls. D4 reserves margin changes to this proposal mechanism; the #1342 controlled A/B gate applies before the margin class becomes routine.

Evidence — accuracy record (S2)

Accuracy ledger generated 2026-11-23T12:30:55.843Z; model: quota-analytics.projectWindow pace v1 (design D2, via S1 #12695).
Store span: 20970 records (20003 percent readings), 2026-10-20T12:00:00.000Z → 2026-11-23T12:30:55.843Z.

pool window scored precision recall median signed wall error (min) wall samples walled periods
meta weekly 269 0.529 0.647 +4741.1 110 3/4
anthropic:claude-pro weekly 291 1 0.55 +796.1 160 3/4
_openai.main weekly 137 0.81 1 -406.3 111 5/8
_openai.alt weekly 169 1 0.958 -155 161 4/6
cline-pass weekly 105 0.244 0.957 +2.7 22 1/3
opendesign weekly 175 1 0.903 +167.1 158 5/5

Evidence — forecast (S1)

forecast 2026-11-23T12:30:19.472Z: anthropic:claude-pro/5h: state insufficient-history, wallsBeforeReset unknown; anthropic:claude-pro/7d: state insufficient-history, wallsBeforeReset unknown; anthropic:claude-pro/Fable:7d: state insufficient-history, wallsBeforeReset unknown; meta/5h: state insufficient-history, wallsBeforeReset unknown; meta/weekly: state insufficient-history, wallsBeforeReset unknown

Evidence — shadow diff (S3)

shadow record 2026-11-23T12:30:19.472Z (computed at NEAR_PCT=80): 29 pools, 14 moved, 1 demoted by forecast (turso); live and shadow orderings differ

Expected effect (scored by the weekly review)

In the four weeks after this lands, the fraction of realized weekly walls in the grounding pools (meta, anthropic:claude-pro) that were preceded by at least one gatherer tick with the pool in the caution/near state rises versus the pre-change baseline computed the same way, and no scoreable weekly baseline's wall-before-reset precision falls below 0.5.

  • Metric: caution-tier lead coverage of realized weekly walls (shadow history × realized wall instants)
  • Scored by: the S7 weekly review, from quota-shadow-placement-history.jsonl and the accuracy ledger
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T12:39:41Z",
    "session_id": "ses_e5df797fe18ffeCAyy164yvvtZ",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "cafdfdc5c9c33839dc8e5e126f62b6487d358a98"
    },
    "auth_subject": "oc-code-08",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Run Proof on this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

… pools enter caution at a lower measured percent (weekly walls arrive systematically early)

Generated by the Stage-3 re-weighting proposal generator (S6, #12700; design D5). Proposal key: caution-margin:NEAR_PCT:80->75. The full evidence pack is the PR body.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 09f6e746-4ec9-46f2-b2a5-c88f69aba48c
Commits

Reviewing files that changed from the base of the PR and between cafdfdc and 30c3ed0.

Files selected for processing: 1

  • pm-stack/aggregator/src/derive.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T12:41:55.303579Z 30c3ed0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant